package com.binecy.bean;

import java.util.Date;

public class Order {
    private long id;
    private String userName;
    private String goodsName;
//    private Date orderTime;


    public Order() {
    }

    public Order(String userName, String goodsName) {
        this.userName = userName;
        this.goodsName = goodsName;
    }

    public Order(long id, String userName, String goodsName) {
        this.id = id;
        this.userName = userName;
        this.goodsName = goodsName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", goodsName='" + goodsName + '\'' +
                '}';
    }
}
